import axios from '@/axios';

// 漏斗
export function loudou(data) {
    return axios({
        url: '/work/loudou',
        method: 'post',
        data
    })
}

// 最上部销售
export function xiaoshou(data) {
    return axios({
        url: '/work/xiaoshou',
        method: 'post',
        data
    })
}

// 最上部销售 --明细
export function xiaoshouInfo(data) {
    return axios({
        url: '/work/xiaoshou-info',
        method: 'post',
        data
    })
}

// 客户资产
export function kehu(data) {
    return axios({
        url: '/work/kehu',
        method: 'post',
        data
    })
}

// 销售排行榜
export function sort(data) {
    return axios({
        url: '/work/sort',
        method: 'post',
        data
    })
}
// 渠道排行榜
export function qudaoSort(data) {
    return axios({
        url: '/work/qudao-sort',
        method: 'post',
        data
    })
}

// 渠道质量
export function qudao(data) {
    return axios({
        url: '/work/qudao',
        method: 'post',
        data
    })
}

// 销售能力
export function xiaoshouPower(data) {
    return axios({
        url: '/work/xiaoshou-power',
        method: 'post',
        data
    })
}

// 今日
export function work(data) {
    return axios({
        url: '/work/work',
        method: 'post',
        data
    })
}